package com.fileCenter.dao;

import java.util.List;

import com.fileCenter.pojo.File;

public interface FileDAO {
	
	List<File> queryByOwerId(long ownerId, int status);
	
	File getById(Long fileId);
	
	List<File> getByIds(List<Long> ids);
	
	void insert(File file);

	void updateStatus(List<Long> fileIds, int status);

	void delete(File file);
}
